package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "菜品分页查询传递的数据模型")
public class DishPageQueryDTO implements Serializable {

    @ApiModelProperty("页码数")
    private int page;

    @ApiModelProperty("每页显示记录条数")
    private int pageSize;

    @ApiModelProperty("菜品名称，支持模糊查询")
    private String name;

    @ApiModelProperty("分类id")
    private Integer categoryId;

    @ApiModelProperty("菜品状态 0表示停售 1表示启售")
    private Integer status;

}
